//package com.easy.test;
//
//import com.easy.common.bean.Product;
//import com.easy.common.service.IProductService;
//import com.easy.product.ProductApplication;
//import com.easy.product.mapper.ProductMapper;
//import org.junit.jupiter.api.Test;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.test.context.SpringBootTest;
//
//import java.math.BigDecimal;
//
//@SpringBootTest(classes= ProductApplication.class)
//public class testInsert {
//
//    @Autowired
//    private ProductMapper productMapper;
//    @Autowired
//    private IProductService productService;
//
//    @Test
//    public void testInsert(){
//        Product product = new Product();
//        product.setBrand("AAA");
//        product.setName("BBB");
//        product.setPrice(new BigDecimal("12.2"));
//        product.setCategory("CCC");
//        product.setTitle("DDD");
//        productMapper.insert(product);
//    }
//}
